//
//  BasePlayVC.h
//  ImGuider
//
//  Created by 王鹏宇 on 2017/8/26.
//  Copyright © 2017年 AudioCtrip. All rights reserved.
//

#import "BaseVC.h"
#import "DownloadListDAO.h"
#import "RatingVC.h"
#import "PlayerItem.h"

typedef NS_ENUM(NSInteger,playFunctionType) {
    
    PlayFuntionLoopSwith = 200, // 连续播放
    PlayFuntionAutomaticSwith,  // 自动导览
    PlayFuntionAsk,             // 提问
    PlayFuntionComment,         // 写点评
    PlayFuntionFeedback,        // 意见反馈
    PlayFuntionChangeMap,       // 地图切换
};

@interface BasePlayVC : BaseVC

@property (nonatomic, strong) LineModel *lineModel;// 没有时获取，暂时为下载页面使用
@property (nonatomic) NSInteger pageType;// 1为下载页面

@property (nonatomic) NSInteger type;// 1 城市导览   2 模板 3 自定义 4 专题 

@property (nonatomic,strong) ScenicPoint * currentScenicPoint;//当前播放 音频点
@property (nonatomic)BOOL isStraightPlay;

@property (nonatomic, strong) UIButton * commentBtn;
@property (nonatomic, strong) UIButton * changeMapBtn;
@property (nonatomic, strong) UIButton * questionBtn;

@property (nonatomic,assign)BOOL isItemIn;//playItem  进入（不显示搜索）
@property (nonatomic, assign)BOOL isHideItem;//进子页面是否要隐藏  playitem
@property (nonatomic)BOOL isOpen;//判断fold 按钮 展开与否
- (void)initScenicFunctionItemView;// 景点初始化 功能按钮view

- (void)initCityTourFunctionItemView;// 线路初始化  功能按钮viw

- (void)open;//折叠功能按钮 开
- (void)off;// 关

- (void)showShareSheet:(UIButton *)sender;//分享方法

- (void)newGuidePage;//地图模式新手引导
@end
